﻿@model HotelRegistrationSystem.Models.LocalPasswordModel

<h3>Change password</h3>

@using (Html.BeginForm("Manage", "Account")) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <div class="row">
        <div class="six columns">
            <div class="row">
                <div class="six columns">
                    @Html.LabelFor(m => m.OldPassword)
                    @Html.TextBoxFor(m => m.OldPassword, new { placeholder = "Current password" })
                </div>
            </div>
            <div class="row">
                <div class="six columns">
                    @Html.LabelFor(m => m.NewPassword)
                    @Html.PasswordFor(m => m.NewPassword, new { placeholder = "New password" })
                </div>
                <div class="six columns">
                    @Html.LabelFor(m => m.ConfirmPassword)
                    @Html.PasswordFor(m => m.ConfirmPassword, new { placeholder = "Confirm new password" })
                </div>
            </div>
        </div>
    </div>
    <input type="submit" value="Change password" class="button success" />
}
